<form method='post' action='check.php'>
<input type='text' name='verify'>
<img style="cursor:pointer" title="刷新验证码" id="refresh" border='0' src='test1.php' 
onclick="document.getElementById('refresh').src='test1.php?t='+Math.random()"/>
<button type='submit'>确定</button>
</form>